class RerefToNewsFromComment < ActiveRecord::Migration[8.0]
  def change
    remove_reference :news, :blog, foreign_key: true
    add_reference :news, :comment, foreign_key: true

  end
end
